package com.itheima.jz;

public class Demo2 {
    public static void main(String[] args) {
        System.out.println(6 & 3);
        System.out.println(7 | 2);
        System.out.println(6 ^ 3);
        System.out.println(~7 );
        System.out.println(-5 >> 1);//无论正负 右移除
        System.out.println(-12 << 2);//左移乘以2*位数

    }
}
